package com.guli.vod.service;

import com.aliyuncs.vod.model.v20170321.CreateUploadVideoResponse;
import com.aliyuncs.vod.model.v20170321.RefreshUploadVideoResponse;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author XiaoHua666
 * @date 2019/4/28
 */

@Service
public interface VideoService {
    String uploadVideo(MultipartFile file);

    void removeVideo(String videoId);

    Boolean addtextWaterMark(String content);

    CreateUploadVideoResponse getUploadAuthAndAddress(String title, String fileName);

    RefreshUploadVideoResponse refreshUploadAuthAndAddress(String videoId);

    String getVideoPlayAuth(String videoId);
}
